package cn.yuanqiao.cqbc.danganback.service;


import cn.yuanqiao.common.core.domain.AjaxResult;
import cn.yuanqiao.cqbc.danganback.domain.YQDaBak;
import cn.yuanqiao.cqbc.danganback.form.IdForm;
import cn.yuanqiao.cqbc.danganback.form.YQDaBackIdForm;
import cn.yuanqiao.cqbc.danganback.param.YQDaBackLogParam;
import cn.yuanqiao.cqbc.danganback.param.YQDataBaseParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface YQDaBackService  {

    List<YQDaBak> getBackDaLists(YQDaBak param);

    YQDaBak getByBakId(String id);

    int updateById(YQDaBak vo);

    int addBackItem(YQDaBak yqDaBak);

    Integer deleteBack(YQDaBak yqDaBak);

    AjaxResult backDa(YQDaBackIdForm form);

    AjaxResult downloadBackFile(String backId, MultipartFile files);

    YQDaBak getBackItem(Long bakId);

    AjaxResult checkConn(YQDataBaseParam param);

    List<Map<String, Object>> getBackDaLogLists(YQDaBackLogParam param, String bakName);

    AjaxResult recoveryData(IdForm form);

    public List<Map<String, Object>> getBackDaLog(Long baklogId);
}
